package com.mdd.front.validate.yangyangLeadingEnterprise;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 【请填写功能名称】参数
 * @author LikeAdmin
 */
@Data
@ApiModel("【请填写功能名称】更新参数")
public class TAppUserUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Long id;

    @NotNull(message = "nickname参数缺失")
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @NotNull(message = "username参数缺失")
    @ApiModelProperty(value = "账号")
    private String username;

    @NotNull(message = "password参数缺失")
    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "个人介绍")
    private String personalIntroduction;

    @ApiModelProperty(value = "个人头像地址")
    private String personalPic;

    @ApiModelProperty(value = "访客数量")
    private Integer visitorNum;

}
